﻿using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 关卡C中的机关，打开两个风扇
/// </summary>
public class Trigger_C : TriggerArea
{
    [SerializeField]
    private List<Fan> fans;

    protected override void OnEnter(Collider2D collider)
    {
        foreach (Fan fan in fans)
        {
            fan.Active = true;
        }
    }
}
